<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/js/bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" type="text/css" href="<%=request.getContextPath() %>/page/login/signin.css">
<script type="text/javascript" src="<%=request.getContextPath() %>/js/jquery-1.12.2.min.js"></script>
<script type="text/javascript" src="<%=request.getContextPath() %>/js/bootstrap/js/bootstrap.min.js"></script>
</head>


<body>  

   <div class="panel panel-info">
	   <div class="panel-heading">
	      <h3 class="panel-title text-center">订单详情</h3>
	   </div>
	   <div class="panel-body">
	         <table class="table" align="center">
			    <thead>
				    <tr class="active">
				       <th>订单编号</th>
				       <th>商品名称</th>
				       <th>价格</th>
				       <th>数量</th>
				       <th>小计</th>
				    </tr>
				 </thead>		 
				 <tbody>
				    <c:forEach items="${list}" var="item">
				      <tr class="danger">
				          <td>${item.id}</td>
					      <td>${item.appname}</td>
					      <td>${item.price}</td>
					      <td>${item.buynum}</td>
					      <td>${item.countpay}</td>
				      </tr>
				    </c:forEach>
				 </tbody>
		   </table>
	   </div>
 </div>

</body>
</html>